Skip to content

[RF] Support analytical integration of RooStepFunction #17593

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Feb 3, 2025

Conversation

guitargeek
Copy link
Contributor

Implement analytical integration capability for RooStepFunction, because
this class is the easiest way to implement a bounded uniform
distribution without adding serialized class members to the RooUniform
(see #7880).

Add a unit test that verifies that wrapping a RooStepFunction in a
RooWrapperPdf doesn't result in any numerical integrals.

Closes #7880.

Just like with other wrapper classes like RooExtendPdf, we can safely
use the analytical integration capabilities of the wrapped object,
becuase we don't do any no-linear transformation.
Implement analytical integration capability for RooStepFunction, because
this class is the easiest way to implement a bounded uniform
distribution without adding serialized class members to the RooUniform
(see root-project#7880).

Add a unit test that verifies that wrapping a `RooStepFunction` in a
`RooWrapperPdf` doesn't result in any numerical integrals.
Copy link

github-actions bot commented Feb 1, 2025

Test Results

    18 files      18 suites   4d 10h 8m 56s ⏱️
 2 689 tests  2 688 ✅ 0 💤 1 ❌
46 706 runs  46 704 ✅ 0 💤 2 ❌

For more details on these failures, see this check.

Results for commit f2da82c.

@dpiparo dpiparo self-requested a review February 3, 2025 16:10
@guitargeek guitargeek merged commit 53a79df into root-project:master Feb 3, 2025
17 of 21 checks passed
@guitargeek guitargeek deleted the issue-7880 branch February 3, 2025 19:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[RF] Allow RooUniform to set lower and upper bounds (support)
2 participants